package com.cwl.pattern.访问者模式;

/**
 * @program: pattern
 * @description: 具体元素类A
 * @author: ChenWenLong
 * @create: 2019-07-10 11:48
 **/
public class ConcreteElementA implements Element {

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    public String operationA() {
        return "具体元素A的操作。";
    }
}
